<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
+ path + "/";
%>
<%@taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<base href="<%=basePath%>">
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	
	<script type="text/javascript" src="js/jquery-2.1.3.js"></script>
	<script type="text/javascript" src="js/GRCJS/showMechineInfo/jquery.showMechineInfo.js"></script>
		
	<title>demo</title>
</head>
<body>
	<div id="div1"></div>

	<button id="bu">点击</button>
	
	<button id="button">ads</button>
	
	
	<script type="text/javascript">
		$('#bu').click(function (){
			$('#div1').addOrder(1, {
				'id': 1234,
				'info': '机台1',
				'startTime': '10:19:24',
				'endTime': '13:14:21'
			}).removeOrder(2,456);
		});
		$('#div1').showMechineNum([1,2,3,4,5]).addOrder(1, {
			'id': 123,
			'info': '机台1',
			'startTime': '10:19:24',
			'endTime': '13:14:21'
		}).addOrder(1, {
			'id': 678,
			'info': '机台1',
			'startTime': '10:19:24',
			'endTime': '13:14:21'
		}).addOrder(2, {
			'id': 456,
			'info': '机台2',
			'startTime': '14:19:24',
			'endTime': '17:14:21'
		});
		
		$('#button').click(function(){
			$('#div1').addOrder(1, {
				'id': 6789,
				'info': '机台1',
				'startTime': '10:19:24',
				'endTime': '13:14:21'
			});
		});
	</script>
</body>
</html>